| commit | f35bfed79e837c5f11cd8e7abfdb8f188dd9b3bb | [log] [tgz] |
|---|---|---|
| author | Max Rozentsveyg <maxr@outlook.com> | Wed May 20 12:07:45 2020 -0400 |
| committer | Max Rozentsveyg <maxr@outlook.com> | Wed May 20 12:08:42 2020 -0400 |
| tree | dda3caf3ad3baca6d79049f381125df759994a2a | |
| parent | e37b2795ff01adeb76edd6fe808f8540b692160c [diff] [blame] |
Don't use LocalPath.strpath
diff --git a/tests/requirements_txt_fixer_test.py b/tests/requirements_txt_fixer_test.py index fae5a72..f4f679d 100644 --- a/tests/requirements_txt_fixer_test.py +++ b/tests/requirements_txt_fixer_test.py
@@ -93,7 +93,7 @@ path = tmpdir.join('file.txt') path.write_binary(input_s) - output_retval = main([path.strpath]) + output_retval = main([str(path)]) assert path.read_binary() == output assert output_retval == expected_retval