summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-06-06 09:52:49 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-06-06 09:52:49 (GMT)
commitcdbc131f0370f6e3712d4167ba987d5e6b7f2802 (patch)
tree4d7eed32a5c150164e67a9800e60a807c8959ac4
parent294bbf3a59255119cc4de3f85762ce47cd1d09e3 (diff)
downloadcpython-cdbc131f0370f6e3712d4167ba987d5e6b7f2802.zip
cpython-cdbc131f0370f6e3712d4167ba987d5e6b7f2802.tar.gz
cpython-cdbc131f0370f6e3712d4167ba987d5e6b7f2802.tar.bz2
Patch #551911: Escape . properly.
-rw-r--r--Lib/test/test_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py
index aadd419..cf87fd4 100644
--- a/Lib/test/test_commands.py
+++ b/Lib/test/test_commands.py
@@ -38,7 +38,7 @@ class CommandTests(unittest.TestCase):
# be named anything.
\s+\d+ # It has a size.
[^/]* # Skip the date.
- /. # and end with the name of the file.
+ /\. # and end with the name of the file.
'''
self.assert_(re.match(pat, getstatus("/."), re.VERBOSE))