def test_create(self):
        """
        `incremental.update package --create` initialises the version.
        """
        self.assertFalse(self.packagedir.child("_version.py").exists())

        out = []
        _run('inctestpkg', path=None, newversion=None, patch=False, rc=False,
             dev=False, create=True, _date=self.date, _getcwd=self.getcwd,
             _print=out.append)

        self.assertTrue(self.packagedir.child("_version.py").exists())
        self.assertEqual(self.packagedir.child("_version.py").getContent(),
                         b'''"""
Provides inctestpkg version information.
"""

# This file is auto-generated! Do not edit!
# Use `python -m incremental.update inctestpkg` to change this file.

from incremental import Version

__version__ = Version('inctestpkg', 16, 8, 0)
__all__ = ["__version__"]
''')

        `incremental.update package --create` initialises the version.
        
stackoverflow/venv/lib/python3.6/site-packages/incremental/tests/test_update.py