# Pytest broken on MacOS and Windows

**URL:** <https://travis-ci.community/t/pytest-broken-on-macos-and-windows/8474>\
**Category:** Python\
**Created:** [May 5, 2020, 3:53am UTC](https://travis-ci.community/t/pytest-broken-on-macos-and-windows/8474 "2020-05-05T03:53:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MunchDev](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/munchdev/32/4523_2.png) [@MunchDev](https://travis-ci.community/u/MunchDev)\
**Post date:** [May 5, 2020, 3:53am UTC](https://travis-ci.community/t/pytest-broken-on-macos-and-windows/8474/1 "2020-05-05T03:53:05Z")

</div>

I setup Travis to run `pytest` on Linux, Windows and MacOS  
The build ran successfully on linux but stuck right at the code below on OS X and Windows

This is my `.config.yml`:

```auto

language: python  
jobs:
  include:
    - name: "Python 3.5.6 on Xenial Linux"
      python: 3.5           
    - name: "Python 3.7.7 on macOS"
      os: osx
      osx_image: xcode11.3
      language: shell
    - name: "Python 3.5.4 on Windows"
      os: windows           
      language: shell       
      before_install:
        - choco install python --version 3.5.4
        - python -m pip install --upgrade pip
      env: PATH=/c/Python35:/c/Python35/Scripts:$PATH
install: 
  - pip3 install --upgrade pip
  - pip3 install -r "requirements.txt"
script:
  - cd src/
  - pytest

```

And this is what on the console:

```auto
$ pytest
============================= test session starts ==============================
platform darwin -- Python 3.7.7, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
rootdir: /Users/travis/build/MunchDev/EpidemicSimulator/src
collected 2 items                                                              

test_a.py 

```

Any idea how to fix thiss?

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [May 6, 2020, 2:28pm UTC](https://travis-ci.community/t/pytest-broken-on-macos-and-windows/8474/2 "2020-05-06T14:28:49Z")

</div>

Please link to the build and explain what the problem is (there aren’t any error messages).

My crystal ball says that your test probably hangs so you should look into that if that’s the case.
