From 181a7a99a55486ba1130ec53a6d0d38f5c50aa39 Mon Sep 17 00:00:00 2001 From: Phillip Cloud Date: Sat, 18 Apr 2015 15:19:22 -0400 Subject: [PATCH] Make sure our version is not unknown --- conda.recipe/meta.yaml | 1 - datashape/tests/test_version.py | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 datashape/tests/test_version.py diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml index c24f23d..cd46fb0 100644 --- a/conda.recipe/meta.yaml +++ b/conda.recipe/meta.yaml @@ -24,7 +24,6 @@ test: requires: - pytest commands: - - python -c "import datashape; assert datashape.__version__ != 'unknown'" - py.test -vx --doctest-modules --pyargs datashape diff --git a/datashape/tests/test_version.py b/datashape/tests/test_version.py new file mode 100644 index 0000000..4897832 --- /dev/null +++ b/datashape/tests/test_version.py @@ -0,0 +1,3 @@ +def test_version(): + import datashape + assert datashape.__version__ != 'unknown'