mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 06:56:13 +00:00
Suggest quotes when pip installing with optional dependencies (#474)
This commit is contained in:
committed by
GitHub
parent
bc8438bda4
commit
5fa4496f9d
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user