# Path: qtpy/QtPrintSupport.py

# 
# Path: qtpy/tests/utils.py
# def not_using_conda():
#     return os.environ.get('USE_CONDA', 'No') == 'No'


import sys
import pytest
from qtpy import QtPrintSupport
from qtpy.tests.utils import not_using_conda
"""Test QtPrintSupport."""




def test_qtprintsupport():
    """Test the qtpy.QtPrintSupport namespace"""
    assert QtPrintSupport.QAbstractPrintDialog is not None
    assert QtPrintSupport.QPageSetupDialog is not None
    assert QtPrintSupport.QPrintDialog is not None
    assert QtPrintSupport.QPrintPreviewDialog is not None
    assert QtPrintSupport.QPrintEngine is not None
    assert QtPrintSupport.QPrinter is not None
    assert QtPrintSupport.QPrinterInfo is not None
    assert QtPrintSupport.QPrintPreviewWidget is not None


def test_qpagesetupdialog_exec_():
    """Test qtpy.QtPrintSupport.QPageSetupDialog exec_"""
    assert QtPrintSupport.QPageSetupDialog.exec_ is not None


def test_qprintdialog_exec_():
    """Test qtpy.QtPrintSupport.QPrintDialog exec_"""
    assert QtPrintSupport.QPrintDialog.exec_ is not None


@pytest.mark.skipif(

# Path: qtpy/QtPrintSupport.py

# 
# Path: qtpy/tests/utils.py
# def not_using_conda():
#     return os.environ.get('USE_CONDA', 'No') == 'No'


# Path: qtpy/tests/test_qtprintsupport.py
import sys
import pytest
from qtpy import QtPrintSupport
from qtpy.tests.utils import not_using_conda

"""Test QtPrintSupport."""




def test_qtprintsupport():
    """Test the qtpy.QtPrintSupport namespace"""
    assert QtPrintSupport.QAbstractPrintDialog is not None
    assert QtPrintSupport.QPageSetupDialog is not None
    assert QtPrintSupport.QPrintDialog is not None
    assert QtPrintSupport.QPrintPreviewDialog is not None
    assert QtPrintSupport.QPrintEngine is not None
    assert QtPrintSupport.QPrinter is not None
    assert QtPrintSupport.QPrinterInfo is not None
    assert QtPrintSupport.QPrintPreviewWidget is not None


def test_qpagesetupdialog_exec_():
    """Test qtpy.QtPrintSupport.QPageSetupDialog exec_"""
    assert QtPrintSupport.QPageSetupDialog.exec_ is not None


def test_qprintdialog_exec_():
    """Test qtpy.QtPrintSupport.QPrintDialog exec_"""
    assert QtPrintSupport.QPrintDialog.exec_ is not None


@pytest.mark.skipif(

    sys.platform.startswith('linux') and not_using_conda(),