# Path: tests/utils.py
# @contextmanager
# def temporary_file(content=None, mode=None, binary=False):
#     tmpf, tmpfname = tempfile.mkstemp()
#     os.close(tmpf)
# 
#     if mode is None:
#         if content is None:
#             mode = "rb"
#         else:
#             mode = "wb"
# 
#     tmpf = open(tmpfname, mode)
#     if content is not None:
#         if hasattr(content, "encode") and not binary:
#             tmpf.write(dedent(content).encode("utf8"))
#         else:
#             tmpf.write(content)
# 
#     tmpf.close()
#     yield tmpfname
#     try:
#         os.unlink(tmpfname)
#     except Exception:
#         # ignore exceptions; it happens sometimes on Windows in the CI environment
#         # that it cannot remove the temporary file because another process (?) is
#         # using it...
#         pass


import unittest
        import gc
from igraph import Graph
from .utils import temporary_file
        from time import time




class CliqueTests(unittest.TestCase):
    def setUp(self):
        self.g = Graph.Full(6)
        self.g.delete_edges([(0, 1), (0, 2), (3, 5)])


# Path: tests/utils.py
# @contextmanager
# def temporary_file(content=None, mode=None, binary=False):
#     tmpf, tmpfname = tempfile.mkstemp()
#     os.close(tmpf)
# 
#     if mode is None:
#         if content is None:
#             mode = "rb"
#         else:
#             mode = "wb"
# 
#     tmpf = open(tmpfname, mode)
#     if content is not None:
#         if hasattr(content, "encode") and not binary:
#             tmpf.write(dedent(content).encode("utf8"))
#         else:
#             tmpf.write(content)
# 
#     tmpf.close()
#     yield tmpfname
#     try:
#         os.unlink(tmpfname)
#     except Exception:
#         # ignore exceptions; it happens sometimes on Windows in the CI environment
#         # that it cannot remove the temporary file because another process (?) is
#         # using it...
#         pass


# Path: tests/test_cliques.py
import unittest
        import gc
from igraph import Graph
from .utils import temporary_file
        from time import time





class CliqueTests(unittest.TestCase):
    def setUp(self):
        self.g = Graph.Full(6)
        self.g.delete_edges([(0, 1), (0, 2), (3, 5)])


    def testCliques(self):