We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 220f4c2 commit 4499e96Copy full SHA for 4499e96
1 file changed
Lib/test/test_zoneinfo/test_zoneinfo.py
@@ -1797,7 +1797,6 @@ def test_tzpath_type_error(self):
1797
b"/etc/zoneinfo:/usr/share/zoneinfo",
1798
0,
1799
(b"/bytes/path", "/valid/path"),
1800
- (pathlib.Path(b"/bytes/path"),)
1801
]
1802
1803
for bad_value in bad_values:
@@ -1821,7 +1820,7 @@ def test_tzpath_attribute(self):
1821
1820
1822
self.assertSequenceEqual(tzpath_0, query_0)
1823
self.assertSequenceEqual(tzpath_1, query_1)
1824
- self.assertSequenceEqual(tzpath_pathlike, query_pathlike)
+ self.assertSequenceEqual(tuple([os.fspath(p) for p in tzpath_pathlike]), query_pathlike)
1825
1826
1827
class CTzPathTest(TzPathTest):
0 commit comments