diff --git a/tests/test_write.py b/tests/test_write.py
index <HASH>..<HASH> 100644
--- a/tests/test_write.py
+++ b/tests/test_write.py
@@ -27,15 +27,13 @@
 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-from os.path import join
-
 import pytest
 import uproot
 
 
 def test_strings(tmp_path):
     ROOT = pytest.importorskip("ROOT")
-    filename = join(tmp_path, 'example.root')
+    filename = tmp_path/'example.root'
 
     with uproot.recreate(filename) as f:
         f['hello'] = 'world'
Fix use of paths in Python <I>