Suggest quotes when pip installing with optional dependencies (#474)

This commit is contained in:
Hugo van Kemenade
2020-08-12 16:12:57 +03:00
committed by GitHub
parent bc8438bda4
commit 5fa4496f9d
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class TablibTestCase(BaseTestCase):
# A known format but uninstalled
del registry._formats['ods']
msg = (r"The 'ods' format is not available. You may want to install the "
"odfpy package \\(or `pip install tablib\\[ods\\]`\\).")
"odfpy package \\(or `pip install \"tablib\\[ods\\]\"`\\).")
with self.assertRaisesRegex(UnsupportedFormat, msg):
data.export('ods')