diff --git a/debian/rules b/debian/rules
index 0a2975dd291fdd1f1abdf418c568d61c187c02ed..34881f5cc3b34c97bee5152c9a596b150c60cdf6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,10 +34,10 @@ python-install%:
 python-test%: python-install%
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	: # Run unittests here against installed scikits.learn
-	export PYTHONPATH=`/bin/ls -d $$PWD/$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/` MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build; \
-	 python$* /usr/bin/nosetests -s scikits.learn \
-	  $(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/scikits/learn; \
-	 python$* /usr/bin/nosetests --doctest-extension=rst doc/
+	export PYTHONPATH=`/bin/ls -d $$PWD/$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/`
+	export MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build
+	cd build/; python$* /usr/bin/nosetests -s scikits.learn
+	cd build/; python$* /usr/bin/nosetests --doctest-extension=rst ../doc/
 else
 	: # Skip unittests due to nocheck
 endif