summaryrefslogtreecommitdiff
path: root/test/test_argparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_argparse.py')
-rw-r--r--test/test_argparse.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_argparse.py b/test/test_argparse.py
index bfa5f9e..89284ad 100644
--- a/test/test_argparse.py
+++ b/test/test_argparse.py
@@ -10,6 +10,8 @@ import tempfile
import unittest
import argparse
+assert getattr(argparse, '__external_lib__', False) # fail early if we test the wrong lib
+
try:
from StringIO import StringIO
except ImportError: