瀏覽代碼

reformatted dulwich/tests/test_client.py
All done! 1 reformatted, 46 left unchanged

Jelmer Vernooij 2 年之前
父節點
當前提交
a25d3d2dae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dulwich/tests/test_client.py

+ 1 - 1
dulwich/tests/test_client.py

@@ -986,7 +986,7 @@ class HttpGitClientTests(TestCase):
 
         c = HttpGitClient(url, config=None, username="user")
         self.assertEqual("user", c._username)
-        self.assertIs(c._password, None)
+        self.assertIsNone(c._password)
 
         basic_auth = c.pool_manager.headers["authorization"]
         auth_string = b"user:"