diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,6 @@ setuptools.setup(
     keywords="example boilerplate",
     packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
     install_requires=[],
-    test_suite="tests",
     entry_points={
         "console_scripts": [
             "boilerplate_script = boilerplate.script:main"
diff --git a/tests/test_example.py b/tests/test_example.py
index <HASH>..<HASH> 100644
--- a/tests/test_example.py
+++ b/tests/test_example.py
@@ -1,7 +1,11 @@
-import unittest
+import pytest
 
 
-class TestExample(unittest.TestCase):
+class TestExample(object):
 
     def test_example(self):
-        self.assertTrue(True)
+        assert True, "This should not fail"
+
+    @pytest.mark.xfail
+    def test_failing(self):
+        assert False, "This will always fail"
diff --git a/tox.ini b/tox.ini
index <HASH>..<HASH> 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,8 @@
 envlist = py27,py3
 [testenv]
 deps = coverage
+       pytest
 commands = coverage erase
-           coverage run setup.py test
+           coverage run -m py.test
            coverage report
            coverage html
tests: switch to py.test