Skip to content

Commit 998098c

Browse files
committed
Don't assume path separator
1 parent 7f79176 commit 998098c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_mailbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ def tearDown(self):
13611361
# Don't delete it!
13621362

13631363
def checkmbox(self, name, matcher, count):
1364-
self._path = os.path.join(os.path.dirname(__file__), 'test_email/data', name)
1364+
self._path = os.path.join(os.path.dirname(__file__), 'test_email', 'data', name)
13651365
self._box = mailbox.mbox(self._path, create=False, from_matcher=matcher)
13661366
self.assertEqual(len(self._box.keys()), count)
13671367

0 commit comments

Comments
 (0)