Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails on black format check #184

Closed
felixonmars opened this issue Feb 22, 2020 · 1 comment
Closed

Fails on black format check #184

felixonmars opened this issue Feb 22, 2020 · 1 comment

Comments

@felixonmars
Copy link

=================================== FAILURES ===================================
______________________________ Black format check ______________________________
--- /build/python-path/src/path-13.1.0/test_path.py     2020-02-22 11:58:38 +0000
+++ /build/python-path/src/path-13.1.0/test_path.py     2020-02-22 11:58:56.633403 +0000
@@ -432,11 +432,11 @@
         assert os.listdir(tmpdir_bytes)

         # now try with path
         results = Path(tmpdir).listdir()
         assert len(results) == 1
-        res, = results
+        (res,) = results
         assert isinstance(res, Path)
         # OS X seems to encode the bytes in the filename as %XX characters.
         if platform.system() == 'Darwin':
             assert res.basename() == 'r%E9%F1emi'
             return
@jaraco
Copy link
Owner

jaraco commented Feb 23, 2020

Fixed in 879bde5.

@jaraco jaraco closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants